home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-1294.lzh / AMOSLIST / text0123.txt < prev    next >
Encoding:
Text File  |  1995-01-03  |  1.4 KB  |  38 lines

  1. 1. Yes
  2. 2. Yes, but I couldn't tell you how off the top O my head, it is contained in
  3. the IFF header chunk at the start of the file. Load an IFFwith a text editor
  4. and take a look.
  5. 3. You could calculate the size of the picture by multiplying the width,
  6. height and depth, then open a screen with those dimensions, AMOS
  7. allows you to open a screen larger than the displayable area. You can
  8. then use Screen Offset to position yourself on the screen, or just use Read
  9. pIxel or whatever.
  10.  
  11. Hope it helps a smidgeon.  -Jedon
  12.  
  13. >>> Shinobi <Shinobi@ckbbs.tor.hookup.net> 12/27/94 12:41pm >>>
  14. For my particle engine, I'd like to add the ability for a user to load a
  15. 2-colour IFF of any size.  Then, the program would randomly (or
  16. not-so-randomly) set the particle positions where the pixels of the IFF are
  17. not set to colour 0 (Black).
  18.  
  19. 1) Can I do it?
  20. 2) Can I get from a file the resolution of an IFF, colour depth, etc.
  21. 3) How do I read the IFF into the computer if the resolution is greater than
  22. the displayable screen (one pixel at a time)?
  23.  
  24. Thanks for lending me your neurons!
  25.  
  26. Paul
  27.  
  28. -- Via DLG Pro v1.0
  29.  
  30. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
  31. | Paul             Fine Lines Publications                |
  32. * Thompson      CGI   Animations   Multimedia             *
  33. |                Shinobi@ckbbs.tor.hookup.net             |
  34. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
  35.  
  36.  
  37.  
  38.